<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
          xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head  th:replace="top::html">

  <title>千人智库管理系统首页</title>

  
  
</head>
<body class="fixed hold-transition skin-blue">
<div class="wrapper">

  <!-- Main Header -->
    <div th:replace="tophtml::html" ></div>

  <!-- Left side column. contains the logo and sidebar -->
  
  <div th:replace="left::html" ></div>


  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
     	 历史对接详情
        <small></small>
      </h1>
      <!--------------------------
        | Your Page Content Here |
        -------------------------->
         <form  method="get" id="from1">
        
        <div class="form-group">
               
		  <!--  <div class="form-group">
		        <label></label>
		          <select class="form-control" name="buttStatus">
		          	<option value="-1">--根据状态筛选--</option>
		            <option th:each="psd : ${buttStatus}" th:value="${psd.names}" th:text="${psd.worth}"></option>
		            </select>
		    </div>  
		    <button type="submit" class="btn btn-primary">检索</button> --> 
		     <input type="hidden" name="buttdetails" th:value="${param.buttdetails}"/>
		     <input type="hidden" name="pageNo" id="pageNo" th:value="${pageInfo.pageNum}"/>
         </div>
         
       </form>
<div class="box">
            <div class="box-header with-border">
              <h3 class="box-title">历史对接列表</h3>
              <button type="button" class="btn btn-primary" onclick="window.history.go(-1)" style="margin-left: 30px;">返回</button>
              <a class="btn btn-primary" th:href="@{'/details/showAddButtDetails?detailPid='+${buttdetails}}">更新对接详情</a>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <table class="table table-bordered">
                <tbody>
                <tr>
                 <th>序号</th>
                 <th>对接介绍</th>
                 <th>负责人</th>
                  <th >对接时间</th>
                  <th>对接状态</th>
                  <th>对接详情</th>
                  <th >对接附件</th>
                </tr>
                
                <tr th:each="collect,iterStat : ${pageInfo.list}">
                
                              <td th:text="${iterStat.index+1}">1.</td>
                <td>
                <p style="font-weight:bold" th:text="${collect.expertName}"></p>
                <p style="font-weight:bold" th:text="${collect.demandName}"></p>
                <p style="font-weight:bold" th:text="${collect.projectName}"></p>
                <p style="font-weight:bold" th:text="${collect.customerName}"></p>
                <p style="font-weight:bold" th:text="${collect.confName}"></p>
                </td>
                 <td th:text="${collect.buttName}">1.</td>
                <td th:text="${collect.buttDataTime}">1.</td>
                
                <td th:text="${collect.buttStatusWorth}">
             	沟通对接需求
                </td>
                
                
                <td >
                
        <div class="col-md-3" style="width:100%;font-size: 14px;">
	          <div class="box box-default collapsed-box" style="border-top:0px solid #d2d6de;">
	            <div class="box-header with-border">
	            <span th:if="${#strings.length(collect.buttDetails)>30}">
	            
	            <span th:text="${#strings.substring(collect.buttDetails,0,30)+'......'}"></span>
	            </span>
	            <span th:unless="${#strings.length(collect.buttDetails)>30}">
	            <span th:text="${collect.buttDetails}"></span>
	            </span>
	              <div class="box-tools pull-right" th:if="${#strings.length(collect.buttDetails)>30}">
	                <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
	                </button>
	              </div>
	              <!-- /.box-tools -->
	            </div>
	            <!-- /.box-header -->
	            <div class="box-body" style="display: none;">
	              <span th:text="${collect.buttDetails}"></span>
	            </div>
	            <!-- /.box-body -->
	          </div>
	          <!-- /.box -->
        </div>
                
                </td>
                <td ><a  th:if="${collect.buttaNnex}" th:href="@{'/details/download?fileName='+${collect.buttaNnex}}">对接附件</a></td>
                </tr>
                <tr>
                  
                </tr>
               
              </tbody>
              </table>
            </div>
            <!-- /.box-body -->
        

			<div th:replace="page::html" ></div>
          </div>
    </section>







    <!-- Main content -->
    <section class="content container-fluid">

		



    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

  <!-- Main Footer -->
<div th:replace="footer::html" ></div>

  <div class="control-sidebar-bg"></div>
</div>

<div th:replace="bottom::html" ></div>
</body>
</html>